package com.example.model;

import lombok.Data;

@Data
public class Review {
    private String rowKey; // Combination of productId and reverseTimestamp

    // review_info column family
    private String userId;
    private int rating;
    private String comment;
    private String reviewDate;

    // user_info column family
    private String userName;
    private String userAvatar;

    // product_info column family
    private String productName;
    private String productCategory;

    // Fields that are part of the key
    private String productId;
} 